Release 10.1A: OpenEdge Development:
Progress 4GL Reference


TYPE attribute

The type of a handle.

Data type: CHARACTER

Access: Readable

Applies to: Asynchronous request object handle, BROWSE widget (browse and cell), Buffer object handle, Buffer-field object handle, BUTTON widget, COMBO-BOX widget, CONTROL-FRAME widget, ProDataSet object handle, Data-relation object handle, Data-source object handle, DIALOG-BOX widget, EDITOR widget, FIELD-GROUP widget, FILL-IN widget, FRAME widget, IMAGE widget, LITERAL widget, LOG-MANAGER system handle, MENU widget, MENU-ITEM widget, Query object handle, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, SUB-MENU widget, TEXT widget, TOGGLE-BOX widget, WINDOW widget, CLIPBOARD system handle, CODEBASE-LOCATOR system handle, COLOR-TABLE system handle, COMPILER system handle, CURRENT-WINDOW system handle, DEBUGGER system handle, DEFAULT-WINDOW system handle, ERROR-STATUS system handle, FILE-INFO system handle, FOCUS system handle, FONT-TABLE system handle, LAST-EVENT system handle, RCODE-INFO system handle, SAX-attributes object handle, SAX-reader object handle, SELF system handle, Server object handle, Server socket object handle, SESSION system handle, SOAP-fault object handle, SOAP-fault-detail object handle, SOAP-header object handle, SOAP-header-entryref object handle, Socket object handle, THIS-PROCEDURE system handle (and all procedure handles), WEB-CONTEXT system handle, X-document object handle, X-noderef object handle

The TYPE attribute returns the widget or handle type. Some examples are "WINDOW", "FRAME", "BUTTON," “MENU,” “SAX-ATTRIBUTES,” “SAX-READER,” and “SERVER.”

For AppServer and Web service handles, the TYPE attribute returns "SERVER".

If a system handle (such as CURRENT-WINDOW or FOCUS) refers to a user interface widget, the TYPE attribute returns the type of that widget. If a system handle (such as SESSION or CLIPBOARD) refers to a Progress status or system widget, the TYPE attribute value is "PSEUDO-WIDGET".

For procedure handles and system handles that refer to procedures (such as THIS-PROCEDURE), the TYPE attribute returns "PROCEDURE".

For an asynchronous request handle, the TYPE attribute returns "ASYNC-REQUEST".

For the ProDataSet, Data-relation, and Data-source object handles, this attribute returns "DATASET", "DATA-RELATION", and "DATA-SOURCE", respectively.

For a server-socket handle, the TYPE attribute returns "SERVER-SOCKET", and for a socket handle, it returns "SOCKET".

For the SOAP-fault and SOAP-fault-detail object handles, this attribute returns "SOAP-FAULT" and "SOAP-FAULT-DETAIL", respectively.

For the SOAP-header and SOAP-header-entryref object handles, this attribute returns "SOAP-HEADER" and "SOAP-HEADER-ENTRYREF", respectively.

For the X-document and X-noderef object handles, the TYPE attribute returns "X-DOCUMENT" and "X-NODEREF", respectively.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095